<div id="comp_mgmt_div" style="display:none">


	<div id="rightside" class="full_size" id="comapny_registration_Edit_div"> 
    	
        <article>
        	<header><h2>Manage Company Profile</h2></header>
            <div class="group" id="createDiv">
                <div class="lblDiv">Company Name: <span>*</span></div>
                <div class="cntrlDiv"><input type="text" name="" id="commgm_cname" /></div>
                <div class="lblDiv">Doing Business As: <span>*</span></div>
                <div class="cntrlDiv"><input type="text" name="" id="reg_lob" /></div>
                <div class="lblDiv">Tax Id: </div>
                <div class="cntrlDiv"><input type="text" name="" id="commgm_ctaxid" /></div>
                <div class="lblDiv">SSN: </div>
                <div class="cntrlDiv"><input type="text" name="" id="commgm_cssn" /></div>
                <div class="lblDiv">Other Id Type: </div>
                <div class="cntrlDiv">
                	<select name="" id="company_reg_idType" class="tiny_ddl">
                    	<option value="PAN">PAN</option>
                        <option value="VAT">VAT</option>
                    </select>
                </div>
                <div class="lblDiv">Other Id Value: </div>
                <div class="cntrlDiv"><input type="text" name="" id="commgm_reg_idValue" /></div>
                <div class="fullDiv"><span class="tiny_text">For non-US companies please specify Id type</span></div>
                <div class="lblDiv">Company Contact: <span>*</span></div>
                <div class="cntrlDiv"><input type="text" class="txtBoxBig" name="" id="reg_CompanyContact" /></div>
                <div class="lblDiv">&nbsp;</div>
                <div class="cntrlDiv">&nbsp;</div>
                <div class="lblDiv">Company Address: <span>*</span></div>
                <div class="cntrlDivBig"><input type="text" class="txtBoxBig" name="" id="reg_compAddressLine1" placeholder="Street Line1 Address" /></div>
                <div class="lblDiv">&nbsp;</div>
                <div class="cntrlDivBig"><input type="text" class="txtBoxBig" name="" id="reg_compAddressLine2" placeholder="Street Address Line 2" /></div>
                <div class="lblDiv">&nbsp;</div>
                <div class="cntrlDivBig"><input type="text" class="txtBoxBig" name="" id="reg_compAddressLine3" placeholder="Street Address Line 3" /></div>
                <div class="lblDiv">&nbsp;</div>
                <div class="cntrlDiv"><input type="text" name="" id="reg_compCity" placeholder="City" /></div>
                <div class="lblDiv">&nbsp;</div>
                <div class="cntrlDiv"><input type="text" name="" id="reg_compState" placeholder="State / Province" /></div>
                <div class="lblDiv">&nbsp;</div>
                <div class="cntrlDiv"><input type="text" name="" id="reg_compZip" placeholder="Postal / Zip Code " /></div>
                <div class="lblDiv">&nbsp;</div>
                <div class="cntrlDiv">
                	<select name="" id="reg_compCountry">
                    	<option value="">Select Country</option>
                        <option value="">United States</option>
                        <option value="">Others</option>
                    </select>
                </div>
                <div class="lblDiv">Phone Number:  <span>*</span></div>
                <div class="cntrlDiv">
                	<input type="text" class="txtBoxTiny" name="" id="reg_areaCodePhone" placeholder="Area" /> - 
                    <input type="text" class="txtBoxSmall" name="" id="reg_areaCodePhoneNumber" placeholder="Phone Number" />
                </div>
                <div class="lblDiv">FAX:</div>
                <div class="cntrlDiv">
                	<input type="text" class="txtBoxTiny" name="" id="reg_areaCodeFax" placeholder="Area" /> - 
                    <input type="text" class="txtBoxSmall" name="" id="reg_areaCodeFaxNumber" placeholder="Phone Number" />
                </div>
                <div class="lblDiv">Email: </div>
                <div class="cntrlDiv"><input type="text" name="" id="reg_compEmail" /></div>
                <div class="lblDiv">Company URL: </div>
                <div class="cntrlDiv"><input type="text" name="" id="reg_compURL" /></div>
                <div class="lblDiv">Default Cuurency: <span>*</span></div>
                <div class="cntrlDiv">
                	<select class="form-dropdown validate[required]" style="width:150px" id="reg_compCurrency" name="q22_defaultCuurency">
		                        <option>  </option>
		                        <option value="Option 1"> Option 1 </option>
		
		                        <option value="Option 2"> Option 2 </option>
		                        <option value="Option 3"> Option 3 </option>
		                    </select>
                </div>
                <div class="lblDiv">&nbsp;</div>
                <div class="cntrlDiv">&nbsp;</div>
               
                <div class="cntrlDivBig"  style="height:100px;margin-left:40px;">
					<table style="height: 100%;"><tr><td>Available Payment Terms</td>
 										<td></td>
										<td>Selected Payment Terms</td></tr>


							<tr><td>
							<select multiple="multiple" size="4" id="reg_compPaymentTerms">
								<option value="US00">US00 - Net 1 Day</option>
								<option value="US01">US01 - Net 2 Day</option>
								<option value="US02">US02 - 1% discount if paid within 10
								days, Net 30 days</option>
								<option value="US03">US03 - Net 3 Day</option>
								<option value="US04">US04 - 2% discount if paid within 10
								days, Net 30 days</option>
								<option value="US05">US05 - Net 5 days</option>
								<option value="US06">US06 - 2% discount if paid within 15
								days, Net 30 Days</option>
								<option value="US07">US06 - 2% discount if paid within 15
								days, Net 30 Days</option>
								<option value="US08">US08 - 1% discount if paid within 15
								days, Net 30 Days</option>
								<option value="US09">US09 - 2% discount if paid within 10
								days, Net 11 Days</option>
								<option value="US10">US10 - Net 10 days</option>
								<option value="US11">US11 - 1.5% discount if paid within 10
								days, Net 16 Days</option>
								<option value="US12">US12 - 1% discount if paid within 14
								days, Net 15 Days</option>
								<option value="US13">US13 - 2% discount if paid within 15
								days, Net 16 Days</option>
								<option value="US14">US14 - 3% discount if paid within 10
								days, Net 30 Days</option>
								<option value="US15">US15 - Net 15 days</option>
								<option value="US16">US16 - 0.5% discount if paid within 10
								days, Net 30 Days</option>
								<option value="US17">US17 - 2% discount if paid within 10
								days, Net 31 Days</option>
								<option value="US18">US18 - 10% discount if paid within 10
								days, Net 30 Days</option>
								<option value="US19">US19 - 5% discount if paid within 20
								days, Net 30 Days</option>
								<option value="US20">US20 - Net 20 days</option>
								<option value="US21">US21 - 2% discount if paid within 15
								days, Net 60 Days</option>
								<option value="US22">US22 - 1% discount if paid within 30
								days, Net 31 Days</option>
								<option value="US30">US30 - Net 30 days</option>
								<option value="US40">US40 - Net 40 days</option>
								<option value="US45">US45 - Net 45 days</option>
								<option value="US50">US50 - Net 50 days</option>
								<option value="US60">US60 - Net 60 days</option>
							</select>
							&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
							
							
							
							</td>
							<td><input type="button" value="&gt;&gt;" onclick="rhsTransfer(false);">
							 <br> <input type="button" value="&lt;&lt;" onclick="lhsTransfer();" >
							 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
							 </td>
							
							<td>
								<select multiple="multiple" size="4" id="reg_compPaymentTermsSelected">
															
								</select>
							</td>
							</tr>
							</table>
				
				</div>
				
				 <div class="fullDiv" style="margin-left:40px;">
				 	<br/>
                    <br/>
                	<br/>
					 <div id="yui_comp_communication_preference_table" class="yuidtskinnedstyle"></div>
				 </div>
				 
				 <div class="btnDiv"><input  onclick="javascript:tn_updateCompany();" type="submit" name="" id="" value="Update Company Details"></div>
               
            </div>
        </article>
       
        <article>
        	<header><h2>Company Locations</h2></header>
            <div class="group" id="createDiv">
            	<div>
                	<br/>
                    <div id="yui_comp_locations_table" class="yuidtskinnedstyle"></div>
                    <br/>
                	<br/>
                    <br/>
                </div>
            	<div class="btnDiv">
            	<input type="submit" name="" id="" value="Add" onclick="javascript:open_loc_dialog()"> 
            	<input type="submit" name="" id="" value="Change" onclick="javascript:open_loc_dialog()">
            	 <input type="submit" name="" id="" value="delete" onclick="javascript:open_del_loc();">
            	 </div>
            </div>
        </article>
		
		<div id="comp_loc_dialog" style="display:none;"  style="margin:15px 50px 15px 50px ;">
		<div class="hd">Location Details</div>
		<div class="bd">
		   <article>
        	<header><h2>Add New Location</h2></header>
			 <div class="group" id="createDiv">
				<div class="lblDiv">Address Line1: <span>*</span></div>
                <div class="cntrlDiv">
				
				<input type="text"  id="comp_addrl1" name="q1_addressLine1" size="20" />
							<input type="hidden" id="comp_compid"></input>
							<input type="hidden" id="comp_locid"></input>
				
				</div>
                <div class="lblDiv">Address Line2: <span>*</span></div>
                <div class="cntrlDiv"> <input type="text"  id="comp_addrl2" name="q3_addressLine2" size="20" /></div>
                <div class="lblDiv">City: </div>
                <div class="cntrlDiv">  <input type="text" id="comp_city" name="q4_city" size="20" /></div>
                <div class="lblDiv">State: </div>
                <div class="cntrlDiv"> <input type="text"  id="comp_state" name="q5_state" size="20" /></div>
                <div class="lblDiv">Zip: </div>
                <div class="cntrlDiv">
                	<input type="text"  id="comp_zip" name="q6_zip" size="20" />
                </div>
                
				
				<div class="lblDiv">Billing Address </div>
                <div class="cntrlDiv"><input type="checkbox"  id="comp_isbilling"  value="Billing Address" /></div>
				<div class="lblDiv">Shipping Address </div>
                <div class="cntrlDiv"><input type="checkbox"  id="comp_isshipping"  value="Billing Address" /></div>
				</div>
				</article>
		</div>
		</div>
        
    </div>
    </div>